
new Vue({
    el: '#app',
    delimiters:['[[', ']]'],

    data: {
        replies: [],
    },

    methods: {
        /**
         * 请求快速回复列表
         */
        requestFastReplyList() {
            let url = "{% url 'gma:api_get_fast_reply_list' %}";
            new my_ajax(url, {}, '', '', (data) => {
                console.table(data);
                this.replies = data;
            });
        },
    },

    mounted() {
        this.requestFastReplyList();
    },
});
